package com.yujn.bean.struct;

import com.yujn.bean.Order;
import com.yujn.bean.dto.OrderDTO;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

@Mapper
public interface OrderStruct {
    OrderStruct INSTE = Mappers.getMapper(OrderStruct.class);

    OrderDTO toDTO(Order order);

}
